//
//  PersonalNeedCollectionViewCell.m
//  WuShiCity
//
//  Created by chengjie on 16/7/6.
//  Copyright © 2016年 chengjie. All rights reserved.
//

#import "PersonalNeedCollectionViewCell.h"
#define CELL_WIDTH (([[UIScreen mainScreen] bounds].size.width - 40) / 4)
@implementation PersonalNeedCollectionViewCell

/*
 // Only override drawRect: if you perform custom drawing.
 // An empty implementation adversely affects performance during animation.
 - (void)drawRect:(CGRect)rect {
 // Drawing code
 }
 */

- (void)awakeFromNib {
    
    [super awakeFromNib];
    //    self.cellView.backgroundColor = [[UIColor blackColor]colorWithAlphaComponent:0.01];
    self.cellView.backgroundColor = [[UIColor whiteColor] colorWithAlphaComponent:1];
    self.cellImageView.alpha = 1;
    self.cellLabel.alpha = 1.0;
    self.deleteBtn =  [[UIButton alloc] initWithFrame:CGRectMake(CELL_WIDTH - 20, 5, 25, 25)];
    [self.deleteBtn setImage:[UIImage imageNamed:@"delete"] forState:UIControlStateNormal];
    self.deleteBtn.hidden = YES;
    [self addSubview:self.deleteBtn];
    
}

- (void)setCollectionCellWithModel:(id)model {
    
    
}

@end
